package com.test.java01;

public class User {
    private String username;
    private String password;
    private String identity;
    private String phone;

    public User(){

    }
    public User(String username,String password,String identity,String phone){
        this.username=username;
        this.password=password;
        this.identity=identity;
        this.phone=phone;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setPassword(String password) {

        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getIdentity() {
        return identity;
    }

    public void setPhone(String phone) {

        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }
}
